//
// Created by 123 on 2025/1/2.
//
#include "iostream"
using namespace std;

class Base{
public:
    int ma;
    Base(){
        ma = 100;
    }
    void func(){
        cout << "base func" << endl;
    }
    void func(int a){
        cout << "base func(a)" << endl;
    }
};

class Son : public Base{
public:
    int ma;
    Son(){
        ma = 200;
    }
    void func(){
        cout << "son func" << endl;
    }
};

int main081(){
    Son son;
    son.func();
    son.Base::func();
    son.Base::func(2);

    return 0;
}